@import "../../../styles.less";

.project-name {
    font-size  : 14px;
    font-weight: 500;
}

::ng-deep .devui-btn{
    width:100%;
}

.graph-name {
    font-size  : 14px;
    font-weight: 400;
    margin-top : 40px;
}

.project-drop-down {
    display     : inline-block;
    width       : 100px;
    margin-right: 4px;
}

:host ::ng-deep ul .devui-dropdown-item{
    padding:8px;
}

.flowunit-drop-down {
    display: inline-block;
    width  : 84px;
}

.card-out {
    height: 160px;
    margin: 8px;
    border: 5px solid white;
}

.label-name {
    width     : 100px;
    text-align: center;
}

.tips-tip-content {
    background-color: @light-black;
    font-size       : 75%;
    margin          : 20px;
    padding         : 8px;
    width           : 600px;
}

.tool-bar-button {
    margin          : 0 4px 0 4px;
    padding         : 4px 12px 4px 12px;
    color           : @black;
    letter-spacing  : 0;
    text-align      : center;
    line-height     : 18px;
    background-color: #fff;
    border          : 1px solid @light-grey;
    border-radius   : 2px;
}

.card-focus {
    border: 5px solid #5e7ce0 !important;
}

.basic-usage {
    td {
        cursor: pointer;
    }

    li>a {
        color:  @light-black;
    }

    li.ti3-tab-active:not(.disabled)>a {
        cursor     : pointer;
        font-weight: 600;
    }

    .basic-disactive {
        display: none;
    }

    .perf-disactive {
        display: none;
    }
}


.nav-tab {
    border       : 1px solid transparent;
    padding      : 2px 10px 2px 10px;
    border-bottom: 1px solid #000;

}

.nav-active {
    border-bottom: none;
    border-top   : 1px solid #000;
    border-left  : 1px solid #000;
    border-right : 1px solid #000;
}

.tool-bar {
    width          : 100%;
    right          : 10px;
    background     : #fff;
    box-shadow     : 0 1px 0 0 @lightest-grey, 0 4px 8px 0 rgba(0, 0, 0, 0.10);
    border-radius  : 0 2px 0 0;
    display        : flex;
    justify-content: space-between;
    align-items    : center;
    margin-bottom  : 15px;
    vertical-align: middle;
    padding:6px;

    .tool-bar-left {
        display    : inline-block;
        width      : 25%;
        user-select: none;
        margin-left: 24px;
        left       : 0;

        & d-button {
            margin          : 0 4px 0 4px;
            border          : none;
            background-color: transparent;
            width           : 40px;
            height          : 24px;
            padding         : 0px;
        }

        & img {
            margin: 0;
        }
    }

    .tool-bar-right {
        display        : inline-flex;
        text-align     : right;
        right          : 0;
        top            : 0;
        margin-right   : 24px;
        justify-content: flex-end;
        align-items    : center;


        & d-button {
            margin        : 0 4px 0 4px;
            font-size     : 12px;
            color         : @black;
            letter-spacing: 0;
            text-align    : center;
            line-height   : 18px;
            background    : #fff;
            border        : 1px solid @light-grey;
            border-radius : 2px;
            border-radius : 2px;
        }
    }

    .tool-bar-mid {
        display   : inline-block;
        text-align: center;
        max-width : 280px;
        
        vertical-align: middle;
    }

    .align-origin {
        border      : 1px dashed #000;
        min-width   : 200px;
        min-height  : 50px;
        line-height : 50px;
        display     : inline-block;
        padding-left: 10px;
    }

    .devui-dropdown-menu {
        overflow-y: auto;
    }

    .devui-dropdown-default {
        margin-left: 4px;
    }
}

.card-container ::ng-deep .devui-form-control-container {
    display        : flex;
    justify-content: space-between;
    align-items    : flex-start;
}

d-card {
    cursor: pointer;
    transition:
        box-shadow 0.3s ease-in-out,
        transform 0.3s ease-in-out;

    &:hover {
        box-shadow: 0 4px 16px 0 rgba(17, 18, 19, 0.5);
        transform : translateY(-5px);
    }
}

.btn-group ::ng-deep .devui-dropdown-menu {
    text-align: center;
}

.table-style ::ng-deep td.cell-style.ng-star-inserted {
    cursor: pointer !important;
}

.basic-usage ::ng-deep .devui-form-horizontal.devui-form-item {
    display: contents;
}

.table-style ::ng-deep td {
    cursor: pointer;
}

.dot-class {
    height       : 24px;
    text-overflow: ellipsis;
    white-space  : nowrap;
    max-width    : 350px;
    overflow     : hidden;
    cursor       : pointer;
}

.description{
    font-size: 14px;
}
